from flask import Flask, render_template  
  
app = Flask(__name__)  
  
@app.route('/')  
def home():  
    """  
    根URL的路由，返回主页面  
    """  
    return render_template('index.html')  
  
if __name__ == '__main__':  
    app.run(host='0.0.0.0', port=5000)
